package com.alex.taskmanager.dao;

import java.util.Collection;

import com.alex.taskmanager.service.TaskManagerException;

public interface TaskManagerDao {
	public <ParamType> void storeTask(TaskData<ParamType> taskData) throws TaskManagerException;
	public <ParamType> Collection<TaskData<ParamType>> getTasks(int maxCount, int time) throws TaskManagerException;
	public <ParamType> void updateTask(TaskData<ParamType> taskData) throws TaskManagerException;
	public <ParamType> void deleteTask(TaskData<ParamType> taskData) throws TaskManagerException;
}
